package com.ruoyi.nongjt.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * 打印机序列号管理对象 printer_serial_number
 * 
 * @author ruoyi
 * @date 2024-01-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class PrinterSerialNumber extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 序列号 */
    @Excel(name = "序列号")
    @NotBlank(message = "序列号不能为空")
    private String serialNumber;

    /** 打印机类型 */
    @Excel(name = "打印机类型", dictType = "printer_type")
    @NotBlank(message = "打印机类型不能为空")
    private String printerType;

    /** 使用状态 */
    @Excel(name = "使用状态", dictType = "printer_usage_status")
    @NotNull(message = "使用状态不能为空")
    private String usageStatus;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;
}
